﻿using DomenModel;
using System;
using System.Collections.Generic;


namespace Model.Service
{
    public interface IAuthorizationProvider
    {
        User GetUser(string username);
        string GetUserNameByEmail(string email);
        void UpdateUserLastActivityDate(string username);
        int GetNumberOfUsersOnline();
        Dictionary<string, DateTime> GetDictionaryOfUsersOnline();
        bool IsUserOnline(string username);
        bool IsMaxUsersOnline();
        void LogOfUser(string username);
        List<User> GetListOfUsersOnline(List<User> listOfUser);
    }
}
